package org.lisz.order.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "order")  //批量绑定，并且自动刷新
@Data
public class OrderProperties {
    String timeout;
    String autoConfirm;
    String mapperLocations;
    String camelCase;
}
